<?xml version="1.0" encoding="UTF-8"?>
<ui:composition
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
	template="/WEB-INF/templates/public/default.xhtml"
>
	<f:metadata>
	   	<f:event listener="#{qualificationClassList.setMaxResults(null)}" type="preRenderView"></f:event>
	   	<f:viewParam name="qClassName" value="#{qualificationClassList.parameterValues['qualificationClassName']}"></f:viewParam>
   	</f:metadata>
	<ui:define name="head">
		<h:outputStylesheet name="css/public/zhongjieminglu_all.css" />
	</ui:define>

	<ui:define name="content">
		<h:form id="searchForm">
	        <!--招标公告-->
	        <div class="sub_wrap">
	            <div class="Methbox_tit">
	                <h2>中介名录</h2>
	                <span><p:link outcome="/index.xhtml">平台首页</p:link> &gt;中介名录</span></div>
		                <div style="margin:10px">				
							<p:outputLabel value="资质类别："></p:outputLabel>				
							<p:inputText value="#{qualificationClassList.parameterValues['qualificationClassName']}"></p:inputText>
							<div class="actionButtons">
								<p:commandButton value="查询" ajax="false"   action="allClass.xhtml?faces-redirect=true&amp;includeViewParams=true&amp;firstResult=0" styleClass="blue-int"></p:commandButton>
								<p:button value="重置" outcome="allClass.xhtml"></p:button>
							</div>		
							<div class="clearbt"></div>
						</div>
					
	            <div class="Methbox_con">
	                <ul>
	                	<p:repeat var="_class" value="#{qualificationClassList.resultList}">
	                    	<li>
	                    		<p:link outcome="SupplierList.xhtml" value="#{_class.name}	">
									<f:param name="qClassId" value="#{_class.id}"></f:param>													
								</p:link>
							</li>	                	
	                	</p:repeat>
	                </ul>
	                <div class="clearb"></div>
	
	            </div>
	        </div>
        </h:form>
	</ui:define>

</ui:composition>
